<?php

namespace App\Http\Controllers;

use Illuminate\Routing\Controller as BaseController;
use Auth;
class AuController extends Controller
{
    public function __construct() {
        $isLogin = Auth::check();
        if (!$isLogin) {
            header('location:/user/login');
        }
    }
}
